'\" t
.\"     Title: raw2gif
.\"    Author: [see the "Author" section]
.\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/>
.\"      Date: 2 May 2012
.\"    Manual: GIFLIB Documentation
.\"    Source: GIFLIB
.\"  Language: English
.\"
.TH "RAW2GIF" "1" "2 May 2012" "GIFLIB" "GIFLIB Documentation"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el       .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
raw2gif \- convert raw pixel data to a GIF
.SH "SYNOPSIS"
.HP \w'\fBraw2gif\fR\ 'u
\fBraw2gif\fR [\-v] \-s\ \fIwidth\fR\ \fIheight\fR [\-p\ \fIcolor\-map\fR] [\-h] [\fIraw\-file\fR]
.SH "DESCRIPTION"
.PP
A program to convert RAW image data into GIF files\&. Only one image can be handled\&. The RAW image file is assumed to hold one pixel color in one byte, and therefore the file size must be Width times Height as specified by the \-s option below\&.
.PP
If no raw\-file is given, raw2gif will try to read RAW data from stdin\&. The generated GIF File is dumped to stdout\&.
.SH "OPTIONS"
.PP
\-v
.RS 4
Verbose mode (show progress)\&. Enables printout of running scan lines\&.
.RE
.PP
\-s width height
.RS 4
The dimensions of the image
\fImust\fR
be specified in the command line\&. The raw image file size must be exactly width times weight bytes (each byte is one pixel color)\&.
.RE
.PP
\-p ColorMapFile
.RS 4
Color map to load for given RAW image\&. This file has 4 integers in line (ColorIndex Red Green Blue), and the ColorIndex is in order starting from 1\&. See gifclrmap, which can also use/create these bitmap files\&. If no color map is specified, uses the EGA 16 color palette as default color map\&.
.RE
.PP
\-h
.RS 4
Print one line of command line help, similar to Usage above\&.
.RE
.SH "AUTHOR"
.PP
Gershon Elber\&.
